package com.bdmc.smokesensor.iservices;

import java.util.List;
import java.util.Map;

import com.bdmc.smokesensor.entity.Smk_Alarm;

public interface ISmk_AlarmService extends IBaseService<Smk_Alarm> {
        public Map<String, Object> findByPageable(int depid, int alarmType, int alarmStat, String start, String end,
                        int gc_id, int page, int size);

        public void updateDelete(int id);

        public Smk_Alarm findBySmkDevicesIdAndOid(int smkDevicesId, String oid);

        public Map<String, Object> findByPageable_WX(String openId, int smkBuildingId, int alarmType, int alarmStat,
                        String start, String end, int gc_id, int page, int size);

        public List<Map<String, Object>> findBySmkBuildingId(int smkBuildingId);

        public Map<String, Object> findAlarmSumInfo(int smkBuildingId);

        public List<Map<String, Object>> findAlarmStatGroupInfo(int depid);

        public List<Map<String, Object>> findAlarmTypeGroupInfo(int depid);

        public List<Map<String, Object>> findAlarmTypeFullYear(int depid);

        public List<Map<String, Object>> findAlarmTypeGroupByDep(int depid);
}
